package cn.ly.spring4.aop;

import org.springframework.stereotype.Component;

@Component
public class LoginAction {
	
	public String login(String userName,String password){
		System.out.println(userName + "," + password + " login");
		return userName;
	}
	
	public String login(String ticket,Object obj){
		System.out.println(ticket + " login");
		return ticket;
	}
	
	public void logout(String userName){
		System.out.println(userName + "," + " logout");
	}

}
